﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PBOfficeMaster.master" AutoEventWireup="true"
    CodeFile="Branch.aspx.cs" Inherits="PersonalManager_Branch" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link type="text/css" rel="Stylesheet" href="../css/PersonalManagerCss.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="width: 864px;">
        <div class="branchtop">
            <table>
                <tr>
                    <td>
                        当前位置
                    </td>
                    <td>
                        <div class="lbBranch">
                            机构管理</div>
                    </td>
                </tr>
            </table>
        </div>
        <hr />
        <div class="tab">
            <table>
                <tr>
                    <td>
                        机构名称：
                    </td>
                    <td>
                        <asp:TextBox ID="txtBrnachName" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        机构简称：
                    </td>
                    <td>
                        <asp:TextBox ID="txtBranchShortName" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        负责人：
                    </td>
                    <td>
                        <asp:TextBox ID="txtPercipualUser" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        联系电话：
                    </td>
                    <td>
                        <asp:TextBox ID="txtTelephone" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        手机：
                    </td>
                    <td>
                        <asp:TextBox ID="txtModileTelphone" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        传真：
                    </td>
                    <td>
                        <asp:TextBox ID="txtFaxs" runat="server"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
        <div class="botton">
            <asp:Button ID="btnAdd" runat="server" CssClass="btnBranch" Text="添  加" OnClick="btnAdd_Click" />&nbsp&nbsp<asp:Button
                ID="btnSaveModify" runat="server" CssClass="btnBranch" Text="保存修改" OnClick="btnSaveModify_Click" /></div>
        <div style="margin: 5px 100px;">
            <asp:GridView ID="gvBranch" runat="server" Width="660px" AutoGenerateColumns="False"
                BorderColor="#00CCFF" BorderStyle="Solid" Font-Size="14px" DataKeyNames="BranchId"
                OnRowDeleting="gvBranch_RowDeleting" OnRowUpdating="gvBranch_RowUpdating">
                <AlternatingRowStyle BackColor="#F4FCFE" />
                <Columns>
                    <asp:BoundField DataField="BranchName" HeaderText="机构名称" SortExpression="BranchName" />
                    <asp:BoundField DataField="BranchShortName" HeaderText="机构简称" SortExpression="BranchShortName" />
                    <asp:BoundField DataField="PrincipalUser" HeaderText="负责人" SortExpression="PrincipalUser" />
                    <asp:BoundField DataField="ConnectTelNo" HeaderText="联系电话" SortExpression="ConnectTelNo" />
                    <asp:TemplateField HeaderText="修改">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:ImageButton ID="ImageButton1" CommandName="Update" Height="17px" Width="17px"
                                runat="server" ImageUrl="~/imges/modify.png" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="删除">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:ImageButton ID="ImageButton2" CommandName="delete" Height="17px" Width="17px"
                                runat="server" ImageUrl="~/imges/delete.png" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle BackColor="#66CCFD" BorderColor="#33CCFF" Font-Size="14px" ForeColor="White" />
                <RowStyle BackColor="#FDFEFF" />
            </asp:GridView>
        </div>
    </div>
</asp:Content>
